package com.example.buy.service;

import com.example.buy.VO.UserVO;
import com.example.buy.model.User;

public interface UserService {
    User regist(User user);//注册

    UserVO getUser(String username);

    Object getUserFromRedisByToken(String s);

    void saveUserToRedisByToken(UserVO dbUser, String token);
}
